package com.atguigu.gulimall.order.constant;

public enum OrderStatusConstant {
    ORDER_STATUS_CREATE(0,"待付款"),
    ORDER_STATUS_PAYED(1,"已付款"),
    ORDER_STATUS_SENDED(2,"已发货"),
    ORDER_STATUS_RECIEVED(3,"已完成"),
    ORDER_STATUS_CANCLED(4,"已取消"),
    ORDER_STATUS_SERVICING(5,"售后中"),
    ORDER_STATUS_SERVICED(6,"售后完成");

    OrderStatusConstant(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private int code;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
